package com.mls.fivedistrict.enums;

import com.baomidou.mybatisplus.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * Created by lixixi on 2018/6/5.
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AdvertisingActionEnum implements IEnum {
    GOODS("商品", "goods"),
    NEWS("新闻", "news"),
    RICHTEXT("富文本", "richtext"),
    TEXT("文本", "text"),
    NOTHAVE("无", "nothave"),
    NEWSFAST("快讯", "newsflash"),
    URL("链接", "url");

    private String desc;
    private String value;


    AdvertisingActionEnum(String desc, String value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
